<?php
/**
 * Created by PhpStorm.
 * User: suncco
 * Date: 2018/6/20
 * Time: 11:43
 */

namespace app\index\controller;


use think\Controller;

class Base extends Controller
{
    public function initialize()
    {
        //后台配置文件
        foreach(setting() as $k => $val){
            config($k,$val);
        }
    }

}